package com.roc.template.mongo.model;

import com.roc.template.mongo.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.activiti.engine.task.Task;
import org.springframework.data.mongodb.core.mapping.Document;

@ApiModel("请假表")
@Data
@Document(collection = "T_leaveApply")
public class LeaveApply extends BaseEntity {

	@ApiModelProperty("流程实例id")
	String process_instance_id;
	@ApiModelProperty("用户名")
	String user_id;
	@ApiModelProperty("请假起始时间")
	String start_time;
	@ApiModelProperty("请假结束时间")
	String end_time;
	@ApiModelProperty("请假类型")
	String leave_type;
	@ApiModelProperty("请假原因")
	String reason;
	@ApiModelProperty("申请时间")
	String apply_time;
	@ApiModelProperty("实际请假起始时间")
	String reality_start_time;
	@ApiModelProperty("实际请假结束时间")
	String reality_end_time;
	Task task;

	
}
